﻿<UserControl x:Class="monitor_server_2_WPF.CustomControls.TrayControl"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      mc:Ignorable="d" d:DesignWidth="181" d:DesignHeight="71" 
      >

    <Border Name="DispBorder" Background="Gray" CornerRadius="3" BorderThickness="2" BorderBrush="DeepSkyBlue">
        <Grid VerticalAlignment="Center" HorizontalAlignment="Center" Margin="6">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
                <RowDefinition Height="Auto"/>
            </Grid.RowDefinitions>
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>
            
            <TextBlock Name="ServerLabel" Foreground="GreenYellow" HorizontalAlignment="Center">Started</TextBlock>
            
            <TextBlock Name="DispLabel" Grid.Row="1" Grid.Column="0" Foreground="White" VerticalAlignment="Center" Margin="0,0,4,0">Unread values:</TextBlock>
            <TextBlock Name="DispText" Grid.Row="1" Grid.Column="1" Foreground="White" HorizontalAlignment="Center" TextWrapping="Wrap">
                0
            </TextBlock>
            <TextBlock Name="UsersLabel" Grid.Row="2" Grid.Column="0" Foreground="White" VerticalAlignment="Center" Margin="0,0,4,0">Users online:</TextBlock>
            <TextBlock Name="UsersText" Grid.Row="2" Grid.Column="1" Foreground="White" HorizontalAlignment="Center" TextWrapping="Wrap">
                0
            </TextBlock>
        </Grid>
    </Border>
</UserControl>
